package com.hhh.tools.model.entity

open class ApiResponse<T>(
    open val data: T? = null,
    open val code: Int? = null,
    open val msg: String? = null,
    open val error: Throwable? = null,
) {
    val isSuccess: Boolean
        get() = code == 0
}